import request from '../utils/requestLogin'
enum API {
    LOGOURL = '/dev/user/passport/login',//登录
    INFO = "/dev/user/passport/auth/getUserInfo",//获取用户信息
}
// /admin/acl/index/login
// http://127.0.0.1:8082/api/user/passport/login
export const reqLogin = (data:any) => request.post<any, any>(API.LOGOURL, data);
export const reqUserInfo = () => request.get<any,any>(API.INFO);